package cn.geoportal.benoserver.entity.vo.iot;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @ProjectName: gmo
 * @Package: cn.geoportal.benoserver.entity.vo.iot
 * @ClassName: IotInfoAdd
 * @Author: chiangbt@geoportal.cn
 * @Description: IotAdd
 * @Date: 2021/10/1 23:26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class IotInfoAdd {
    @JSONField(ordinal = 0)
    @ApiModelProperty(position = 0)
    private String name;

    @JSONField(ordinal = 2)
    @ApiModelProperty(position = 1)
    private String code;

    @JSONField(ordinal = 2)
    @ApiModelProperty(position = 2)
    private String address;

    @JSONField(ordinal = 3)
    @ApiModelProperty(position = 3)
    private String description;

    @JSONField(ordinal = 4)
    @ApiModelProperty(position = 4)
    private Integer typeid;

    @JSONField(ordinal = 5)
    @ApiModelProperty(position = 5)
    private String gltfUrl;

    @JSONField(ordinal = 6)
    @ApiModelProperty(position = 6)
    private String videoUrl;

    @JSONField(ordinal = 7)
    @ApiModelProperty(position = 7)
    private Float temp;

    @JSONField(ordinal = 8)
    @ApiModelProperty(position = 8)
    private Float humidity;

    @JSONField(ordinal = 9)
    @ApiModelProperty(position = 9)
    private Float height;

    /**
     * 纬度
     */
    @JSONField(ordinal = 10)
    @ApiModelProperty(position = 10)
    private Float lat;

    /**
     * 经度
     */
    @JSONField(ordinal = 11)
    @ApiModelProperty(position = 11)
    private Float lng;
}
